package cn.zmall.sso.service;

import cn.zmall.manager.dto.front.Member;
import org.springframework.stereotype.Service;

/**
 * @Author BinBini
 * @Date 2020/10/29 10:42
 * @Version 1.0
 */
@Service
public interface LoginService {

    Member userLogin(String username, String password);

    Member wxLogin(String wxId);

    Member getUserByToken(String token);

    int logout(String token);

    Member getUserInfo(Long userId);
}
